home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Dialog / c / ShowAt < prev    next >
Text File  |  1994-03-12  |  1KB  |  32 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Dialog.ShowAt.c
  12.     Author:  Copyright © 1994 Peter Gaunt
  13.     Version: 1.00 (12 Mar 1994)
  14.     Purpose: Very high level window (dialogue) handling -
  15.              Showing non-permanent (menu) dialogues
  16. */
  17.  
  18.  
  19. #include "DeskLib:Wimp.h"
  20. #include "DeskLib:WimpSWIs.h"
  21.  
  22. #include "DeskLib:Dialog.h"
  23.  
  24.  
  25. /* Similar to Dialog_Show but opens dialogue at x/y */
  26. extern void Dialog_ShowAt( dialog dbox, int x, int y )
  27. {
  28.   dbox->state.isstatic = FALSE;
  29.   Wimp_CreateMenu( (menu_block *) dbox->window, x, y);
  30.   dbox->state.stillopen = TRUE;
  31. }
  32.